﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="addCustomerType.ascx.cs" Inherits="PayrollHR.Administration.Modules.addCustomerType" %>
<%@ Register Src="CustomerTypeInfo.ascx" TagName="CustomerTypeInfo" TagPrefix="uc1" %>

<asp:UpdatePanel ID="upForumSubscriptions" runat="server">
    <ContentTemplate>
        <div class="section-header">
            <div class="title">
                <img src="Common/ico-catalog.png" alt='<%=GetLocaleResourceString("Admin.addCustomerType.AddCustomersType")%>' />
                <%=GetLocaleResourceString("Admin.addCustomerType.AddCustomersType")%>
                <asp:Label runat="server" ID="lblTitle" />
                <a href="ListCustomerType.aspx" title='<%=GetLocaleResourceString("Admin.addCustomerType.AddCustomersType")%>'>
                    <%=GetLocaleResourceString("Admin.addCustomerType.BackToCustomersTypList")%>
                </a>
            </div>
            <div class="options">
                <asp:HyperLink ID="hlexport" runat="server" ForeColor="#6600CC" Visible="False">[hlexport]</asp:HyperLink>

                <asp:Button ID="SaveButton" runat="server" Text="<% $PayrollResources:Admin.CustomerAdd.SaveButton.Text %>"
                    ToolTip="<% $PayrollResources:Admin.CustomerAdd.SaveButton.Tooltip %>" CssClass="adminButtonBlue" OnClientClick="return show()" OnClick="SaveButton_Click" />
                <asp:Button ID="SaveAndStayButton" runat="server" CssClass="adminButtonBlue" Text="<% $PayrollResources:Admin.CustomerAdd.SaveAndStayButton.Text %>" ToolTip="<% $PayrollResources:Admin.CustomerAdd.SaveAndStayButton.Tooltip %>"
                    OnClientClick="return show()" OnClick="SaveAndStayButton_Click" />
            </div>
        </div>

        <ajaxToolkit:TabContainer runat="server" ID="CustomerTabs" ActiveTabIndex="0">
            <ajaxToolkit:TabPanel runat="server" ID="pnlCustomerInfo" HeaderText="<% $PayrollResources:Admin.addCustomerType.CustomerTypeInfo %>">
                <ContentTemplate>
                    <asp:Label runat="server" ID="lblCustomertype" Text="<%$ PayrollResources:Admin.addCustomerType.CustomertypeNobank %>"
                        Visible="False" Font-Size="X-Large" ForeColor="#FF3300"></asp:Label>
                    <uc1:CustomerTypeInfo ID="CustomerTypeInfo1" runat="server" />
                </ContentTemplate>
            </ajaxToolkit:TabPanel>

        </ajaxToolkit:TabContainer>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress ID="up1" runat="server" AssociatedUpdatePanelID="upForumSubscriptions">
    <ProgressTemplate>
        <div class="progress">
            <asp:Image ID="imgUpdateProgress" runat="server" ImageUrl="~/images/UpdateProgress.gif"
                AlternateText="update" />
            <%=GetLocaleResourceString("Admin.Common.Wait...")%>
        </div>
    </ProgressTemplate>
</asp:UpdateProgress>
